home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
disk
/
cdrom
/
SkandalfoCDP.lha
/
SCDPlayer
/
Rexx
/
CommentIDFiles.scdp
< prev
next >
Wrap
Text File
|
1996-08-27
|
883b
|
48 lines
/* based on ReadCDTitles.rexx v1.0 © 1996 Roy Brown*/
/* $Ver: CommentIDFiles.scdp V1.0 (27.8.96) */
/* Set this the first characters of the filename that are common to all
filenames - need only be the first one or two. Leave the '#?' in place. */
/* ID in SCDPlayer */
FileStart="ID#?"
/****** No need to touch anything below this line ******/
Options FailAt 21
OPTIONS RESULTS
DISKSPATH
DiskDir=RESULT
If RC~=0|DiskDir='' Then Exit
a=Pragma("D",DiskDir)
Address Command 'List 'FileStart' LFormat %N > T:DiskList'
n=0
Address
a=Open(list,"T:DiskList")
Do While EOF(list)=0
n=n+1
File.n=Readln(list)
End
Do x=1 to n-1
a=Open(name,File.x)
CD.Artist=Readln(name)
CD.Title=Readln(name)
CD.ID=CD.Artist||' - '||CD.Title
Address Command 'Filenote 'File.x' "'CD.ID'"'
a=Close(name)
End
a=Close(list)
Address Command 'Delete >NIL: T:DiskList'
Exit